//
//  UIImageView+Cool.h
//  HX2Car
//
//  Created by Mudmen on 2017/8/11.
//  Copyright © 2017年 Hx2car_mac. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum  {
    GradientColorTypeTopToBottom = 0,//从上到小
    GradientColorTypeLeftToRight = 1,//从左到右
    GradientColorTypeUpleftTolowRight = 2,//左上到右下
    GradientColorTypeUprightTolowLeft = 3,//右上到左下
}GradientColorType;

@interface UIImageView (Cool)

- (void)setImageColors:(NSArray *)colorArray gradientType:(GradientColorType)gradientColorType;

@end
